public abstract class Car {
    int carId;
    String carName;
    public Car(int ID,String name)
    {
        this.carId=ID;
        this.carName=name;
    }

    public int getCarId() {
        return carId;
    }

    public String getCarName() {
        return carName;
    }

    void getCapacity(){}
}
